package com.sfzd5.mistakesbook.db;

import com.j256.ormlite.field.DatabaseField;

public class MistakesKnowledge {
    public final static String MISTAKES_ID_FIELD_NAME = "mistakes_id";
    public final static String KNOWLEDGE_ID_FIELD_NAME = "knowledge_id";

    //用户项目编号
    @DatabaseField(generatedId = true, unique = true)
    public int id = -1;

    @DatabaseField(foreign = true, columnName=MISTAKES_ID_FIELD_NAME)
    public Mistakes mistakes;

    @DatabaseField(foreign = true, columnName=KNOWLEDGE_ID_FIELD_NAME)
    public Knowledge knowledge;


}
